import { Pipe, PipeTransform } from '@angular/core';

@Pipe({
  name: 'shiftarr'
})
export class ShiftarrPipe implements PipeTransform {

  transform(value: any, args?: any): any {
    if(value instanceof Array){
       value.shift();
      return value;
    }else{
      return value;
    }
   
  }

}
